package com.zte.springboot_smbms.mapper;

import com.zte.springboot_smbms.pojo.SmbmsBill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 标哥
* @description 针对表【smbms_bill】的数据库操作Mapper
* @createDate 2021-12-14 10:21:03
* @Entity com.zte.pojo.SmbmsBill
*/
@Mapper
public interface SmbmsBillMapper {

    List<SmbmsBill> findAllBill();

    List<SmbmsBill> findBillById(Long id);

    boolean addBill(SmbmsBill bill);

    boolean delBill(Long id);

    boolean updateBill(@Param("id") Long id, @Param("bill") SmbmsBill bill);

    List<SmbmsBill> findBillByParam(@Param("queryProductName") String queryProductName, @Param("queryProviderId") Integer queryProviderId, @Param("queryIsPayment") Integer queryIsPayment);
}




